﻿@model RBS.Core.Model.P_Advertis_Batch
@{
    ViewBag.Title = "内容页";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}

<!--导航栏-->
<div class="location">
    <a href="javascript:history.back(-1);" class="back"><i></i><span>返回列表页</span></a>
    <a href="@Url.Action("Main", "Home")" class="home"><i></i><span>首页</span></a>
    <i class="arrow"></i>
    <span>##</span>
</div>
<!--/导航栏-->

<!--内容-->
<div class="content-tab-wrap">
    <div id="floatHead" class="content-tab">
        <div class="content-tab-ul-wrap">
            <ul>
                <li><a href="javascript:;" onclick="tabs(this);" class="selected">赠与</a></li>
            </ul>
        </div>
    </div>
</div>
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true) 
    @Html.HiddenFor(model => model.Id)
    @Html.HiddenFor(model => model.AP_Id)
    <div class="tab-content">
        <dl>
            <dt>赠与数量</dt>
            <dd>
                @Html.TextBox("Num", null, new { @class = "input small", ajaxurl = "/tools/hotelAjax.ashx?action=lave_validate&lave=" + ViewBag.lave, max = "5", datatype = "n", sucmsg = " " })
                <span class="Validform_checktip">剩余优惠券 @ViewBag.lave 张</span>
                @*string.Format(@"/^(\d{{1,2}}|{0})$/",@ViewBag.lave,1,22)*@
            </dd>
        </dl>
        <dl>
            <dt>赠与人</dt>
            <dd>
                @Html.TextBox("U_ID", null, new { @class = "input normal" })
                <span class="Validform_checktip">*赠与人</span>
            </dd>
        </dl>
    </div>
    <!--/内容--> 
    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />

        </div>
        <div class="clear"></div>
    </div>
    <!--/工具栏--> 
}

<script>
     
</script>









